home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SCI Games E3 2005 Press Kit (USA)
/
SCI Games E3 2005 Press Kit (USA).bin
/
runme_mac.swf
/
scripts
/
frame_52
/
DoAction.as
Wrap
Text File
|
2005-05-05
|
659b
|
23 lines
function openMessageBox(target_mc)
{
trace("start Messagebox");
target_mc.Open();
}
_global.GameSelected = new Number();
MovieClip.prototype.Open = function()
{
var _loc2_ = new Sound(target_mc);
_loc2_.attachSound("slide");
_loc2_.setVolume(100);
_loc2_.start();
new mx.transitions.Tween(this,"_y",mx.transitions.easing.Strong.easeOut,this._y,200,1,true);
};
MovieClip.prototype.Close = function()
{
var _loc2_ = new Sound(target_mc);
_loc2_.attachSound("slide");
_loc2_.setVolume(100);
_loc2_.start();
new mx.transitions.Tween(this,"_y",mx.transitions.easing.Strong.easeIn,this._y,600,0.8,true);
};